import request from "@/utils/request"

// 个人中心主页
export function selfHomepage () {
  return request({
    url: '/api/selfuse/account/homepage',
    method: 'get',
  })
}

// 我的团队-主页
export function getTeamInfo() {
  return request({
    url: '/api/team/account/getTeamInfo',
    method: 'get',
  })
}

// 排行榜
export function selfRankingList(params) {
  return request({
    url: '/api/selfuse/account/rankingList',
    method: 'get',
    params
  })
}

// 我的团队-团队管理
export function selfTeamManage(params) {
  return request({
    url: '/api/selfuse/account/teamManage',
    method: 'get',
    params
  })
}

// 邀请审核
export function selfInviteAuth(data) {
  return request({
    url: '/api/selfuse/account/inviteAuth',
    method: 'post',
    data
  })
}

// 平台账号授权
export function listBindingPlatform() {
  return request({
    url: '/api/team/account/listBindingPlatform',
    method: 'get',
  })
}

// 获取抖音授权链接
export function getDouyinAuthUrl() {
  return request({
    url: '/api/douyin/authUrl',
    method: 'get',
  })
}

// 获取快手授权链接
export function getKuaishouAuthUrl() {
  return request({
    url: '/api/kuaishou/authQrcode',
    method: 'get',
  })
}













